package udp.message;

public class SetDurationMessage extends LibraryMessage {
	
	static final long serialVersionUID = 16L;
	
	private String username;
	private String bookName;
	private int numDays;
	private String result;
	private String ei;
	private String replicaId;
	
	public SetDurationMessage(int numDays, String username, String bookname,String ei){
		super(LibraryMessageTypeEnum.SET_DURATION);
		this.username = username;
		this.bookName = bookname;
		this.numDays = numDays;
		this.result = "false";
		this.ei = ei;
		this.replicaId ="";
	}
	

	public String getReplicaId() {
		return replicaId;
	}


	public void setReplicaId(String replicaId) {
		this.replicaId = replicaId;
	}


	public String getUsername() {
		return username;
	}

	public void setUsername(String username) {
		this.username = username;
	}

	public String getBookName() {
		return bookName;
	}

	public void setBookName(String bookName) {
		this.bookName = bookName;
	}

	public int getNumDays() {
		return numDays;
	}

	public void setNumDays(int numDays) {
		this.numDays = numDays;
	}

	public String getResult() {
		return result;
	}

	public void setResult(String result) {
		this.result = result;
	}

	public String getEi() {
		return ei;
	}

	public void setEi(String ei) {
		this.ei = ei;
	}
	
	
}
